🇬🇧 en fr 🇫🇷

Yoda condition noun

  /ˌjəʊdə kənˈdɪʃn̩/ , /ˌjəʊdə kənˈdɪʃən/
  • (programming, informal) A logical condition with the usual order of operands reversed for various reasons, such as avoiding accidental misuse of = (assignment) instead of == (equality), a mistake that is harder to spot when using the normal order of operands. [from early 21st c.]
condition Yoda
Wiktionary Links